using System;

namespace ECCIT.Data
{
	/// <summary>
	/// 
	/// </summary>
	public class FieldFactory
	{
		public static IField Create(Type type, string propertyName, IColumn column)
		{
			return new Field(type, propertyName, column);
		}

        public static IField Create(Type type, string propertyName, IColumn column, ClassFieldCreator fieldCreator)
        {
            return new Field(type, propertyName, column, fieldCreator);
        }
	}
}
